package com.xinbochuang.machine.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinbochuang.machine.admin.domain.AlarmCount;
import com.xinbochuang.machine.admin.domain.CameraAlarmRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 杜文博
 * @date 2020-10-29
 */
public interface CameraAlarmRecordMapper extends BaseMapper<CameraAlarmRecord> {

    /**
     * 告警统计
     *
     * @param thisWeekList 日期列表
     * @return 结果
     */
    List<AlarmCount> selectAlarmCount(@Param("week") List<String> thisWeekList);
}
